Method for designing wiring topology for electromigration avoidance and fabrication method of integrate circuits including said method

ABSTRACT

A method for designing wiring topology for electromigration avoidance, which is composed of multiple sources, multiple sinks and multiple wires, is disclosed. The steps of said method to get an optimal topology includes: 1. calculating the length of all the wires to choose one of the wires with the shortest length as a feasible wire, 2. deciding a capacity of the feasible wire, 3. deciding the capacities of the other wire according to the capacity of the feasible wire, a flow of the source of the feasible wire and a flow of the sink of the feasible wire, 4. comparing the length of the other wires to select another feasible wire, 5. repeating said steps until finding all feasible wires for constructing a feasible topology, 6. creating a flow network according to the feasible topology, 7. iteratively checking if a negative cycle exists in the flow network and removing it until no more negative cycles.

BACKGROUND OF THE INVENTION

(1) Field of the Invention

The invention relates to a method for designing wiring topology and a fabrication method of integrate circuit including said method, and especially relates to a method for designing optimal wiring topology applied for electromigration avoidance in the integrate circuit.

(2) Description of the Prior Art

For the shrinking feature size and multiple functions of the chip, the components and the designed wires thereof disposed on the chip are more complex, so the size of the wires should be shrunk. Therefore, as the long term usage of the chip or the current density of the wire exceeding the process limitation, a mass of atoms inside of the metal wire are forced to migrate along the direction of the current, and the gradual transport eventually causes the void and the hillock formed on the wire. Said phenomenon is referred to as electromigration (EM), and the electromigration causes a permanent failure, such as open circuit or short circuit. For example, the failure of the chip is triggered when the hillock of the wire contacting with the neighbor.

The conventional method for EM avoidance essentially relies on the following two techniques: one is an accurate EM simulator for increasing the reliability; the other is a good wiring topology for EM avoidance.

The first technique is that the chip is analyzed by an accurate EM simulator at post routing for diminishing the EM risk. The narrow wire routed on the chip is widened according to the current density of the wire. However, the conventional EM fixing is applied at post-layout, which may consume tremendous routing resources and induce a large amount of layout change.

The second technique is that the good wiring topology considering EM is applied to a router, which may immune EM with much fewer routing resources. One of the conventional method for designing wiring topology is based on the Delaunay triangulation (DT) algorithm to calculate the feasible solution of the wire in advance of EM avoidance.

The DT-based method is described as below. First of all, the connected graph is constructed by the Delaunay triangulation algorithm so that each of all the source currents is connected with each of all the sink currents. Secondly, a source or a sink at the DT boundary is selected as the starting point, and the starting point is connected to the nearest neighbor in DT. Considering the two possible current directions of the connection wire, the starting point is then greedily connected to the nearest neighbor with the feasible solution and the width of the wire is determined accordingly. Another point at the DT boundary is selected to obtain the better result. Said process is repeated and, finally, the resulting tree is formed by the method for designing wiring topology with the DT-based method.

However, the tree edge is able be provided only from DT edges; thus, if the solution must include a non-DT edge, the wiring topology fails.

Consequently, how to find the optimal wiring topology to avoid electromigration and to save the routing resource is an important issue.

SUMMARY OF THE INVENTION

Accordingly, the objective of the invention is to provide a method for designing wiring topology applied for electromigration avoidance.

In one aspect, the invention provides a method for designing wiring topology, applied for selecting an optimal wiring topology for electromigration avoidance among a plurality of wiring topologies on a chip set. Wherein each of the wiring topologies has a plurality of sources, a plurality of sinks and a plurality of wires, each of the wires is directly connected between one of the sources and one of the sinks, each of the sources provides a source current, each of the sinks receives a sink current, and an effective current flows from one of the sources into one of the sinks through each of the wires.

The steps of the method includes: calculating the lengths of all the wires to choose the minimum among the wires as a feasible wire; deciding a capacity of the feasible wire, wherein the capacity is the maximum of the effective current through the feasible wire; deciding the capacity of each of the other wires according to the capacity, the source current and the sink current of the feasible wire; comparing the length of the other wires to choose another feasible wire; repeating said steps until finding all feasible wires to construct a feasible wiring topology; creating a flow network according to the feasible wiring topology; executing an algorithm to iteratively check if a negative cycle existing in the flow network; and removing the negative cycle if existing in the flow network to obtain the optimal wiring topology. Wherein the feasible wiring topology is defined as the optimal wiring topology if no more the negative cycle existing in the flow network.

In an embodiment, further including: replacing the feasible wire with a ladder-type wire by one end of the feasible wire connected by a horizontal wire and another end of feasible wire connected by a vertical wire, wherein the horizontal wire is perpendicular to the vertical wire.

In an embodiment, an obstacle is disposed on the chip set, and the obstacle is bypassed by one of the wires, so the steps of the method comprises: adding a routing length to the length of the wire bypassing the obstacle.

In an embodiment, the chip set has at least two routing layers stacked, and the length of the wire passing the two routing layers has a minimal distance between the two routing layers.

In another aspect, the invention provides a fabrication method of integrate circuit including the method for designing wiring topology, wherein the method for designing wiring topology is utilized before the routing stage.

In the other aspect, the invention provides a fabrication method of integrate circuit including the method for designing wiring topology, wherein the method for designing wiring topology is utilized after the routing stage to apply for local modification.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a chart showing the method for designing wiring topology.

FIG. 2 is a schematic view of the feasible wiring topology on the chip set with single routing layer.

FIG. 3 is a schematic view of the flow network.

FIG. 4 is a schematic view of the residual graph of the flow network.

FIG. 5 is a schematic view of the residual graph with removing the negative cycle.

FIG. 6 is a schematic view of the optimal flow network.

FIG. 7 is a schematic view of the optimal wiring topology on the chip set with single routing layer.

FIG. 8 is a schematic view of the conversion between the optimal wiring topology and the optimal rectilinear routing.

FIG. 9 is a schematic view of the optimal rectilinear routing on the chip set with single routing layer.

FIG. 10 is a schematic view of the optimal wiring topology on the chip set with single routing layer considering the obstacle.

FIG. 10A is a schematic view of the optimal rectilinear routing on the chip set with single routing layer considering the obstacle.

FIG. 11 is a schematic view of the optimal wiring topology on the chip set with multiple routing layers.

FIG. 11A is a schematic view of the optimal rectilinear routing on the chip set with multiple routing layers.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

In the following detailed description of the preferred embodiments, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. In this regard, directional terminology, such as “top,” “bottom,” “front,” “back,” etc., is used with reference to the orientation of the Figure(s) being described. The components of the present invention can be positioned in a number of different orientations. As such, the directional terminology is used for purposes of illustration and is in no way limiting. On the other hand, the drawings are only schematic and the sizes of components may be exaggerated for clarity. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention. Also, it is to be understood that the phraseology and terminology used herein are for the purpose of description and should not be regarded as limiting. The use of “including,” “comprising,” or “having” and variations thereof herein is meant to encompass the items listed thereafter and equivalents thereof as well as additional items. Unless limited otherwise, the terms “connected,” “coupled,” and “mounted” and variations thereof herein are used broadly and encompass direct and indirect connections, couplings, and mountings. Similarly, the terms “facing,” “faces” and variations thereof herein are used broadly and encompass direct and indirect facing, and “adjacent to” and variations thereof herein are used broadly and encompass directly and indirectly “adjacent to”. Therefore, the description of “A” component facing “B” component herein may contain the situations that “A” component facing “B” component directly or one or more additional components is between “A” component and “B” component. Also, the description of “a” component “adjacent to” “B” component herein may contain the situations that “A” component is directly “adjacent to” “B” component or one or more additional components is between “A” component and “B” component. Accordingly, the drawings and descriptions will be regarded as illustrative in nature and not as restrictive.

The present invention provides a method for designing wiring topology for electromigration avoidance and a fabrication method of integrate circuit including said method, applied on a chip set. The method for designing wiring topology is utilized before the routing stage, where the routing stage in the fabrication method of integrate circuit is applied for the components electrically connected with each other on the chip set. In other words, the method for designing wiring topology with considering the electromigration avoidance is able to find an optimal wiring topology for decreasing the routing resources when the designed wiring stage of the chip set without routing. Therefore, the method for designing wiring topology is able to be utilized after the routing stage to apply for local modification for keeping electromigration off in the integrate circuit.

For executing the method for designing wiring topology to avoid electromigration, a computer is utilized in the present invention to run a wiring topology designed software. The wiring topology designed software provides a flow network to simulate the wiring topology. The hardware in the method for designing wiring topology is described as below. The computer has an input unit, an operating unit, a storage unit and an output unit. The input unit is a keyboard or a handwriting input device. The operation unit is a central processing unit (CPU). The storage unit is a hardware electrically connected to the input unit, the operating unit and the output unit. The wiring topology designed software is installed in the hardware. The output unit is a display or a printer.

Refer to FIG. 1 for a chart showing the method for designing wiring topology. The steps of the method are described as below.

Step(100): input the positions and the source currents of the sources (x_(si), y_(si), f_(si)), the positions and the sink currents of the sinks (x_(tj), y_(tj), f_(tj)), a minimal wiring length w_(min), a maximal wiring length w_(max) and a maximum tolerable current density J_(max) by an user of the wiring topology designed software via the input unit. Wherein the wiring topology has a plurality of sources, a plurality of sinks and a plurality of wires, each of the wires is straightly connected between one of the sources and one of the sinks, and an effective current flows from one of the sources into one of the sinks through each of the wires.

Step(101): calculate the length of all the wires to choose the minimum among all the wires as a feasible wire, which has a minimal length of all the wires, via the operating unit.

Step(102): decide a capacity of the feasible wire, and an effective current of each feasible wire smaller than or equal to the corresponding capacity. In other words, the capacity is the maximum of the effective current through the feasible wire. Wherein the minimum min(f_(si), f_(tj)) of the source current f_(si) and the sink current f_(y) is selected as the capacity of the feasible wire.

Step(103): decide the capacity of each of the other wires except for the chosen feasible wire according to the capacity, the source current and the sink current of the feasible wire.

Step(104): compare the length of the other wires to choose the minimum among the other wires as another feasible wire, which has a secondary minimal length of all the wires, and back to step(S102). Therefore, judge if the capacity of each of the other wires is zero. When the capacity of one of the other wires is zero, said wire should not be added more capacity up, so said wire is unable to be as the feasible wire.

Step(105): repeat said step(S102) to step(S104) until find all feasible wires to construct a feasible wiring topology. Wherein a current density of each of the feasible wires is smaller than or equal to the maximum tolerable current density J_(max).

Step(106): create a flow network according to the feasible wiring topology.

Step(107): execute an algorithm to iteratively check if a negative cycle existing in the flow network. Yes for going to the step(S108); no for going to the step(S109). Wherein said algorithm is a negative cycle detection algorithm.

Step(108): remove the negative cycle if existing in the flow network to obtain the optimal wiring topology and go to the step(S110).

Step(109): define the feasible wiring topology as the optimal wiring topology.

Step(110): modify the over extension or the under extension for the width of the feasible wires in the optimal wiring topology in accordance with the minimal wiring length w_(min) and the maximal wiring length w_(max).

Finally, replace the feasible wire with a ladder-type wire by one end of the feasible wire connected by a horizontal wire and another end of the feasible wire connected by a vertical wire. Wherein the horizontal wire is perpendicular to the vertical wire. The below steps is illustrated that the method for designing wiring topology is applied for finding an optimal wiring topology on the chip set in advance of the designed wiring stage. The optimal wiring topology connected all the sources and the sinks is formed as an optimal rectilinear routing S+T, so that the current is able to flow through each wire and to satisfy the Kirchhoff's current conservation law.

Step 1: given a set S={s₁, s₂, . . . , s_(m)} of m sources, a set T={t₁, t₂, . . . , t_(n)} of n sinks, each source i is associated with its flow characterized source current f_(si) and each sink j is associated with its flow characterized sink current f_(si).

In an embodiment, a single routing layer of the chip set 100 having three sources and four sinks is illustrated with FIG. 2. The data of the sources S={s₁, s₂, s₃} and the data of the sinks T={t₁, t₂, t₃, t₄} are tabulated. The wire and its capacity between the sources S={s₁, s₂, s₃} and the sinks T={t₁, t₂, t₃, t₄} are shown as Table 1 to Table 7. Wherein each lattice (L, C) represents each connection having the length L of the wire and the capacity C.

1. Calculate the length of all the wires to choose the minimum among all the wires as a feasible wire and decide a capacity of the feasible wire. Wherein the minimum min(f_(si), f_(tj)) among the source current f_(si) and the sink current f_(tj) is selected as the capacity of the feasible wire.

As Table 1 showing, the connection (5,2) is selected as the feasible wire, and the former represents the length of the feasible wire and the latter represents the capacity of the feasible wire. Because the sources s₃ of the feasible wire has the source current f_(si)=+9 and the sink t₃ of the feasible wire has the sink current f_(si)=−2, the capacity of the feasible wire is min(|f_(si)|, |f_(tj)|)=2. Said feasible wire is the wire between the source s₃ and the sink t₃ as shown in FIG. 2. Wherein the source current, provided by the source, is represented by the positive signs “+”, and the source current, received by the sink, is represented by the negative signs “−”.

TABLE 1 The length and the capacity of the wire in the step 1 . . . S/T t₁(−8) t₂(−4) t₃(−2) t₄(−5) s₁(+7) (7, 7) (13, 4) (18, 2) (13, 5) s₂(+3) (7, 3) (11, 3) (6, 2) (7, 3) s₃(+9) (12, 8) (8, 4) (5, 2) * (10, 5) * (the length of the feasible wire, the capacity of the feasibke wire)

2. Decide the capacity of each of the other wires except for the chosen feasible wire according to the capacity, min(|f_(si)|, |f_(tj)|)=2, of the connection (5,2), the source current f_(si)=+9 of the source s₃ and the sink current f_(tj)=−2 of the sink t₃. As shown in Table 2, the capacity of the connection between the source s₁ and the sink t₃ is zero, the capacity of the connection between the source s₂ and the sink t₃ is zero, the capacity of the connection between the source s₃ and the sink t₁ is 7 unit, and the capacity of the connection between the source s₃ and the sink t₂ is 4 unit. Therefore, the source s₃ provides the current of 2 unit to the sink t₃, so the source current f_(si) of the source s₃ is varied from 9 unit to 2 unit. The sink t₃ receives the current of 2 unit from the source s₃, so the sink current f_(tj) is varied from 2 unit to zero.

Compare the length of the other wires to choose the minimum among the other wires as another feasible wire, which has a secondary minimal length of all the wires, so the connection (7,3) is selected, which represents the wire between the source s₂ and the sink t₄ in FIG. 2. When the capacity of one of the other wires is zero, said wire is unfeasible, so said wire is unable to be as the feasible wire.

TABLE 2 The length and the capacity of the wire in the step 2 . . . S/T t₁(−8) t₂(−4) t₃(0) t₄(−5) s₁(+7) (7, 7) (13, 4) (18, 0) (13, 5) s₂(+3) (7, 3) (11, 3) (6, 0) (7, 3) * s₃(+7) (12, 7) (8, 4) (5, 2) * (10, 5) * (the length of the feasible wire, the capacity of the feasibke wire)

3. Decide the capacity of each of the other wires except for the chosen feasible wires according to the capacity, min(|f_(si)|, |f_(tj)|)=3, of the connection (7,3), the source current f_(si)=+3 of the source s₂ and the sink current f_(tj)=−5 of the sink t₄. As shown in Table 3, the capacity of the connection between the source s₁ and the sink t₄ is 2 unit, the capacity of the connection between the source s₂ and the sink t₁ is zero, the capacity of the connection between the source s₂ and the sink t₂ is zero, and the capacity of the connection between the source s₃ and the sink t₄ is 2 unit. Therefore, the source s₂ provides the current of 3 unit to the sink t₄, so the source current f_(si) of the source s₂ is varied from 3 unit to zero. The sink t₄ receives the current of 3 unit from the source s₂, so the sink current is varied from 5 unit to 2 unit.

Compare the length of the other wires, and the connection (7,7) is selected as another feasible wire, which represents the wire between the source s₁ and the sink t₁ in FIG. 2.

TABLE 3 The length and the capacity of the wire in the step 3 . . . S/T t₁(−8) t₂(−4) t₃(0) t₄(−2) s₁(+7) (7, 7) * (13, 4) (18, 0) (13, 2) s₂(0) (7, 0) (11, 0) (6, 0) (7, 3) * s₃(+7) (12, 7) (8, 4) (5, 2) * (10, 2) * (the length of the feasible wire, the capacity of the feasibke wire)

4. Decide the capacity of each of the other wires except for the chosen feasible wires according to the capacity, min(|f_(si)|, |f_(tj)|)=7, of the connection (7,7), the source current f_(si)=+7 of the source s₁ and the sink current f_(tj)=−8 of the sink t₁. As shown in Table 4, the capacity of the connection between the source s₁ and the sink t₂ is zero, the capacity of the connection between the source s₁ and the sink t₃ is zero, the capacity of the connection between the source s₁ and the sink t₄ is zero, the capacity of the connection between the source s₂ and the sink t₁ is zero, and the capacity of the connection between the source s₃ and the sink t₁ is 1 unit. Therefore, the source s₁ provides the current of 7 unit to the sink t₁, so the source current f_(si) of the source s₁ is varied from 7 unit to zero. The sink t₁ receives the current of 7 unit from the source s₁, so the sink current f_(tj) is varied from 8 unit to 1 unit.

Compare the length of the other wires, and the connection (8,4) is selected as another feasible wire, which represents the wire between the source s₃ and the sink t₂ in FIG. 2.

TABLE 4 The length and the capacity of the wire in the step 4 . . . S/T t₁(−1) t₂(−4) t₃(0) t₄(−2) s₁(0) (7, 7) * (13, 0) (18, 0) (13, 0) s₂(0) (7, 0) (11, 0) (6, 0) (7, 3) * s₃(+7) (12, 1) (8, 4) * (5, 2) * (10, 2) * (the length of the feasible wire, the capacity of the feasibke wire)

5. Decide the capacity of each of the other wires except for the chosen feasible wires according to the capacity, min(|f_(si)|, |f_(tj)|)=4, of the connection (8,4), the source current f_(si)=+7 of the source s₃ and the sink current f_(tj)=−4 of the sink t₂. As shown in Table 5, the capacity of the connection between the source s₃ and the sink t₁ is 1 unit, and the capacity of the connection between the source s₃ and the sink t₄ is 2 unit. Therefore, the source s₃ provides the current of 4 unit to the sink t₂, so the source current f_(si) of the source s₃ is varied from 7 unit to 3 unit. The sink t₂ receives the current of 7 unit from the source s₁, so the sink current f_(tj) is varied from 4 unit to zero.

Compare the length of the other wires, and the connection (10,2) is selected as another feasible wire, which represents the wire between the source s₃ and the sink t₄ in FIG. 2.

TABLE 5 The length and the capacity of the wire in the step 5 . . . S/T t₁(−1) t₂(0) t₃(0) t₄(−2) s₁(0) (7, 7) * (13, 0) (18, 0) (13, 0) s₂(0) (7, 0) (11, 0) (6, 0) (7, 3) * s₃(+3) (12, 1) (8, 4) * (5, 2) * (10, 2) * * (the length of the feasible wire, the capacity of the feasibke wire)

6. Decide the capacity of each of the other wires except for the chosen feasible wires according to the capacity, min(|f_(si)|, |f_(tj)|)=2, of the connection (10,2), the source current f_(si)=+3 of the source s₃ and the sink current f_(tj)=−2 of the sink t₄. As shown in Table 6, the capacity of the connection between the source s₃ and the sink t₁ is 1 unit. Therefore, the source s₃ provides the current of 2 unit to the sink t₄, so the source current f_(si) of the source s₃ is varied from 3 unit to 1 unit. The sink t₂ receives the current of 2 unit from the source s₁, so the sink current f_(tj) is varied from 2 unit to zero.

Compare the length of the other wires, and the connection (12,1) is selected as another feasible wire, which represents the wire between the source s₃ and the sink t₁ in FIG. 2.

TABLE 6 The length and the capacity of the wire in the step 6 . . . S/T t₁(−1) t₂(0) t₃(0) t₄(0) s₁(0) (7, 7) * (13, 0) (18, 0) (13, 0) s₂(0) (7, 0) (11, 0) (6, 0) (7, 3) * s₃(+1) (12, 1) * (8, 4) * (5, 2) * (10, 2) * * (the length of the feasible wire, the capacity of the feasibke wire)

7. For the capacity of each of the other wires except for the chosen feasible wires being zero, end the steps of finding the feasible wire. All the feasible wires are selected as shown in Table 7 and FIG. 2, where the connection (7,7) represents the wire between the source s₁ and the sink t₁, the connection (7,3) represents the wire between the source s₂ and the sink t₄, the connection (12,1) represents the wire between the source s₃ and the sink t₁, the connection (8,4) represents the wire between the source s₃ and the sink t₂, the connection (5,2) represents the wire between the source s₃ and the sink t₃, and the connection (10,2) represents the wire between the source s₃ and the sink t₄.

Link all the feasible wires with each other to construct a feasible wiring topology. Wherein a current density of each feasible wire is smaller than or equal to the maximum tolerable current density J_(max), so the current flows through each feasible wire for assuredly avoiding electromigration.

TABLE 7 The length and the capacity of the wire in the step 7 . . . S/T t₁(0) t₂(0) t₃(0) t₄(0) s₁(0) (7 , 7)* (13, 0) (18, 0) (13, 0) s₂(0) (7, 0) (11, 0) (6, 0) (7, 3) * s₃(0) (12, 1) * (8, 4) * (5, 2) * (10, 2) * * (the length of the feasible wire, the capacity of the feasibke wire)

Step 2: create a flow network as shown in FIG. 3 according to the feasible wiring topology, which includes the length, the source current, the sink current and the capacity of each feasible wire between the source and the sink.

Each source current and each sink current are represented by the vertexes. (l_(i,j), f_(i,j), c_(i,j)) represents a directed edge (s_(i), t_(j)) from s_(i) to t_(j) for each pair of the source and the sink, where l_(i,j) represents the length of the wire between the source s_(i) and the sink t_(j), f_(i,j) represents the effective current from the source s_(i) to the sink t_(j), c_(i,j) represents the capacity, and the capacity is smaller than or equal to the effective current f_(i,j), c_(i,j)=min(f_(si), f_(tj)). In addition, two dummy vertices, representing the super source s_(s) and the super sink t_(t), are added. One edge from the super source s_(s) to each distinct source s_(i) is the total flow associated with (0, f_(si), f_(si)), while one edge from each distinct sink t_(j) to the super sink t_(t) is the total flow current associated with (0, f_(tj), f_(tj)). In addition, one edge (s_(s), t_(t)) is also added associated with (0, f_(ss), f_(ss))=(0,19,19), where f_(ss) is the total flow from the super source to the super sink. Wherein the solid edge between the source s_(i) and the sink t_(j) represents the feasible wire, and the dashed edge represents the other wires.

Step 3: execute an algorithm to iteratively check if a negative cycle existing in the flow network. Wherein said algorithm is a negative cycle detection algorithm.

Firstly, create a residual graph based on said flow network as shown in FIG. 4. Define (l′_(i,j), f′_(i,j), c′_(i,j)) as the residual state of the residual length, the residual flow, and the residual capacity. For each edge (s_(i), t_(j)) between source s_(i) and sink t_(j) with the flow f_(i,j) and the wirelength l_(i,j) in the flow network, two directional edges are constructed in the corresponding residual graph as follows.

1. A forward edge (s_(i), t_(j)) has a residual wirelength l′_(i,j)=+l_(i,j) and a residual capacity c′_(i,j)=c_(i,j)−f_(i,j), 0≦f′_(i,j)≦c_(i,j)−f_(i,j).

2. A backward edge (t_(j), s_(i)) has a residual wirelength l′_(i,j)=−l_(i,j) and a residual capacity c′_(i,j)=−f_(i,j), −f_(i,j)≦f′_(i,j)≦0.

Wherein the wirelength and the capacity thereof, represented by the positive signs “+”, are on the forward edge and the residual flow are provided by the source; the wirelength and the capacity thereof, represented by the negative signs “−”, are on the backward edge and the residual flow are received by the sink.

Secondly, check if the negative cycle existing in the residual graph. A negative cycle C_(N)={s_(i), t_(j), . . . , s_(i)} is a cycle that starts and ends at the same source and has a negative sum of wirelength L_(C) on its constituent edges. As shown in FIG. 5, the solid edges represents the negative cycle of the residual graph. The negative cycle C_(N)={s₁, t₁, s₂, t₂, s₁} is a cycle that starts from the source s₁ to the sink t₁, then to the source s₂ and the sink t₁, and ends at the source s₁. The negative sum of wirelength L_(C) is 7+(−12)+10+(−7)=−2.

Finally, judge if the negative sum of wirelength L_(C) is zero. If the negative sum of wirelength L_(C) is zero, the negative exists in the residual graph and go to Step 4; else if, the negative dose not exist in the residual graph, and the feasible wiring topology is defined as an optimal wiring topology for effectively saving the routing sources and go to Step 5.

Step 4: remove the negative cycle if existing in the flow network. Refer to FIG. 6 for a schematic view of the optimal flow network, which showing the flow network removed the negative cycle, obtained from FIG. 3. The steps of removing the negative cycle are described as below with Table 8.

Firstly, one unit of the effective current flowing from the source s₃ to the sink t₁ is changed to be injected from the source s₂ along the direction of the negative cycle, so the capacity of the feasible wire between the source s₂ and the sink t₄ is varied to be 2 unit and the capacity of the feasible wire between the source s₃ and the sink t₄ is varied to be 3 unit. Secondly, an optimal wiring topology is obtained on the chip set 100 as shown in FIG. 7. If the width of one of the feasible wires in the optimal wiring topology is smaller than the minimal wiring length w_(min), the width of said wire is modified to be the minimal wiring length w_(min); if the width of said wire is lager than the maximal wiring length w_(max), said wire is altered by multiple wires so that the width of said wire is modified to be the suitable width in accordance with the minimal wiring length w_(min) and the maximal wiring length w_(max).

TABLE 8 The length and the capacity of the wire in the optimal wiring topology. S/T t₁(−8) t₂(−4) t₃(−2) t₄(−5) s₁(+7) (7, 7) * (13, 0) (18, 0) (13, 0) s₂(+3) (7, 1) * (11, 0) (6, 0) (7, 2) * s₃(+9) (12, 0) (8, 4) * (5, 2) * (10, 3) * * (the length of the feasible wire, the capacity of the feasibke wire)

Step 5: finally, replace the feasible wire with a ladder-type wire by one end of the feasible wire connected by a horizontal wire and another end of the feasible wire connected by a vertical wire as shown in FIG. 8. In other words, the optimal wiring topology is conversed by rectilinearization to form an optimal rectilinear routing as shown in FIG. 9. Wherein the solid line represents the wire and the number of the arrow near the solid line represents the effective current of the wire.

In an preferred embodiment, a plurality of obstacles O are disposed on the chip set 100 as shown in FIG. 10. The feasible wires between the source S={s₁, s₂, s₃} and the sink T={t₁, t₂, t₃, t₄} are selected with considering the obstacles. However, the wire is straightly connected between the source and the sink so that the wirelength is added by the obstacle. The length of the wire bypassing the obstacle is added a routing length, where the routing length is a difference between the length of the wire bypassing the obstacle and the length of said wire straightly connecting the source and the sink. Calculate the length added the routing length up to obtain all the feasible wire. The length of the feasible wire between the source s₁ and the sink t₁ is 9 unit and the capacity thereof is 7 unit. The length of the feasible wire between the source s₂ and the sink t₃ is 6 unit and the capacity thereof is 2 unit. The length of the feasible wire between the source s₂ and the sink t₄ is 7 unit and the capacity thereof is 3 unit. The length of the feasible wire between the source s₃ and the sink t₂ is 10 unit and the capacity thereof is 4 unit. The length of the feasible wire between the source s₃ and the sink t₄ is 10 unit and the capacity thereof is 5 unit.

Link all the feasible wires with each other to construct a feasible wiring topology. Finally, the optimal wiring topology is conversed by rectilinearization to form an optimal rectilinear routing as shown in FIG. 10A.

In an preferred embodiment, the chip set 101 has at least three routing layers 101 a, 101 b and 101 c stacked as shown in FIG. 11. The length of the wire passing those routing layers has a minimal distance between the routing layers with considering the routing layers 101 a, 101 b and 101 c. The feasible wires between the source p₁(x₁, y₁, z₁) and the sink p₂(x₂, y₂, z₂) are selected to construct a feasible wiring topology. Finally, the optimal wiring topology is conversed by rectilinearization to form an optimal rectilinear routing as shown in FIG. 11A

Above all, the present invention is utilized after the routing stage to apply for local modification for avoiding electromigration in the fabrication method of integrate circuit. Therefore, the present invention is utilized to design an optimal wiring topology on the chip set before the routing stage for decreasing the routing resources.

The present invention is utilized by the applicable products such as the analog design, the mixed signal design and the reliability-driven design automation tool, and the applicable industries such as IC design house, IC design service company, IC design tool vendor and IC design foundry.

The foregoing description of the preferred embodiment of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form or to exemplary embodiments disclosed. Accordingly, the foregoing description should be regarded as illustrative rather than restrictive. Obviously, many modifications and variations will be apparent to practitioners skilled in this art. The embodiments are chosen and described in order to best explain the principles of the invention and its best mode practical application, thereby to enable persons skilled in the art to understand the invention for various embodiments and with various modifications as are suited to the particular use or implementation contemplated. It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents in which all terms are meant in their broadest reasonable sense unless otherwise indicated. Therefore, the term “the invention”, “the present invention” or the like is not necessary limited the claim scope to a specific embodiment, and the reference to particularly preferred exemplary embodiments of the invention does not imply a limitation on the invention, and no such limitation is to be inferred. The invention is limited only by the spirit and scope of the appended claims. The abstract of the disclosure is provided to comply with the rules requiring an abstract, which will allow a searcher to quickly ascertain the subject matter of the technical disclosure of any patent issued from this disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. Any advantages and benefits described may not apply to all embodiments of the invention. It should be appreciated that variations may be made in the embodiments described by persons skilled in the art without departing from the scope of the present invention as defined by the following claims. Moreover, no element and component in the present disclosure is intended to be dedicated to the public regardless of whether the element or component is explicitly recited in the following claims. 

What is claimed is:
 1. A method for designing wiring topology for electromigration avoidance, applied for selecting an optimal wiring topology among a plurality of wiring topologies on a chip set, wherein each of the wiring topologies has a plurality of sources, a plurality of sinks and a plurality of wires, each of the wires is directly connected between one of the sources and one of the sinks, each of the sources provides a source current, each of the sinks receives a sink current, an effective current flows from one of the sources into one of the sinks through each of the wires, the method comprising the steps of: calculating the length of all the wires to choose the minimum among the wires as a feasible wire; deciding a capacity of the feasible wire, wherein the capacity is the maximum of the effective current through the feasible wire; deciding the capacity of each of the other wires according to the capacity, the source current and the sink current of the feasible wire; comparing the length of the other wires to choose another feasible wire; repeating said steps until finding all feasible wires to construct a feasible wiring topology; creating a flow network according to the feasible wiring topology; executing an algorithm to iteratively check if a negative cycle existing in the flow network; and removing the negative cycle if existing in the flow network to obtain the optimal wiring topology.
 2. The method for designing wiring topology for electromigration avoidance of claim 1, wherein the steps of deciding the capacity of the feasible wire comprises: comparing the source current and the sink current of the feasible wire to choose a minimum among the source current and the sink current as the capacity of the feasible wire.
 3. The method for designing wiring topology for electromigration avoidance of claim 2, further comprising: defining the feasible wiring topology as the optimal wiring topology if no more the negative cycle existing in the flow network.
 4. The method for designing wiring topology for electromigration avoidance of claim 3, further comprising: defining a minimal wiring length and a maximal wiring length; and modifying the length of all the feasible wires in the optimal wiring topology in accordance with the minimal wiring length and the maximal wiring length.
 5. The method for designing wiring topology for electromigration avoidance of claim 3, further comprising: replacing the feasible wire with a ladder-type wire by one end of each of the feasible wires connected by a horizontal wire and another end of each of the feasible wires connected by a vertical wire, wherein the horizontal wire is perpendicular to the vertical wire.
 6. The method for designing wiring topology for electromigration avoidance of claim 1, wherein the steps of comparing the length of the other wires comprises: judging if the capacity of each of the other wires being zero.
 7. The method for designing wiring topology for electromigration avoidance of claim 1, wherein the chip set has an obstacle disposed thereon, and the obstacle is bypassed by one of the wires, so the steps of the method comprises: adding a routing length to the length of the wire bypassing the obstacle.
 8. The method for designing wiring topology for electromigration avoidance of claim 1, wherein the chip set has at least two routing layers stacked, and the length of the wire passing the two routing layers has a minimal distance between the two routing layers.
 9. The method for designing wiring topology for electromigration avoidance of claim 1, wherein the algorithm is a negative cycle detection algorithm.
 10. The method for designing wiring topology for electromigration avoidance of claim 1, further comprising: utilizing a computer to run a wiring topology designed software, wherein the computer has an input unit, an operating unit and an output unit, and the wiring topology designed software provides the flow network to simulate the wiring topologies; the input unit receiving the position of the sources, the position of the sinks, the source current of each of the sources, the sink current of each of the sinks, a minimal wiring length, a maximal wiring length and a maximum tolerable current density by an user of the wiring topology designed software; the operating unit computing the length of all the wires to calculate the optimal wiring topology; and displaying the optimal wiring topology on the output unit.
 11. A fabrication method of integrate circuit comprising the method for designing wiring topology for electromigration avoidance of claim 1, wherein the method for designing wiring topology is utilized before a routing stage.
 12. A fabrication method of integrate circuit comprising the method for designing wiring topology for electromigration avoidance of claim 1, wherein the method for designing wiring topology is utilized after a routing stage to apply for local modification. 